import React from "react"
import styled from "styled-components"

interface BodyCardProps {
  children: React.ReactNode
}

const StyledBodyCard = styled.div`
  margin: 10px;
  border-radius: 4px;
  background-color: #fff;
`

export const BodyCard: React.FC<BodyCardProps> = ({ children }) => {
  return <StyledBodyCard className="body-card">{children}</StyledBodyCard>
}

export default BodyCard
